home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ETO Development Tools 4
/
ETO Development Tools 4.iso
/
Tools - Objects
/
MacApp
/
MacApp 3.0a2
/
CPlusIncludes
/
Scrap.h
< prev
next >
Wrap
Text File
|
1991-05-01
|
1KB
|
54 lines
/************************************************************
Created: Sunday, January 6, 1991 at 9:52 PM
Scrap.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1985-1989
All rights reserved
************************************************************/
#ifndef __SCRAP__
#define __SCRAP__
#ifndef __TYPES__
#include <Types.h>
#endif
struct ScrapStuff {
long scrapSize;
Handle scrapHandle;
short scrapCount;
short scrapState;
StringPtr scrapName;
};
typedef struct ScrapStuff ScrapStuff;
typedef ScrapStuff *PScrapStuff;
#ifdef __cplusplus
extern "C" {
#endif
pascal PScrapStuff InfoScrap(void)
= 0xA9F9;
pascal long UnloadScrap(void)
= 0xA9FA;
pascal long LoadScrap(void)
= 0xA9FB;
pascal long GetScrap(Handle hDest,ResType theType,long& offset)
= 0xA9FD;
pascal long ZeroScrap(void)
= 0xA9FC;
pascal long PutScrap(long length,ResType theType,Ptr source)
= 0xA9FE;
#ifdef __cplusplus
}
#endif
#endif